<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{jbqkForm.bundleName}"/>
    <head>
        <title>#{text['jbqkDetail.title']}</title>
        <meta name="heading" content="#{text['jbqkDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="jbqkForm">
<h:form id="jbqkForm" onsubmit="return validateJbqkForm(this)">
<h:inputHidden id="id" value="#{jbqkForm.jbqk.id}"/>

<h:panelGroup styleClass="buttonBar bottom">
    <h:commandButton value="#{text['button.save']}" action="#{jbqkForm.save}" id="save" styleClass="button"/>

    <c:if test="${not empty jbqkForm.jbqk.id}">
    <h:commandButton value="#{text['button.delete']}" action="#{jbqkForm.delete}"
        id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Jbqk')"/>
    </c:if>

    <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
        id="cancel" styleClass="button" onclick="bCancel=true"/>
</h:panelGroup>
<h:panelGrid columns="6">

    <h:outputLabel styleClass="desc" for="qyqc" value="#{text['jbqk.qyqc']}"/>
    <t:message for="qyqc" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="qyqc" value="#{jbqkForm.jbqk.qyqc}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="qywz" value="#{text['jbqk.qywz']}"/>
    <t:message for="qywz" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="qywz" value="#{jbqkForm.jbqk.qywz}" required="false" maxlength="100">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="zcdz" value="#{text['jbqk.zcdz']}"/>
    <t:message for="zcdz" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="zcdz" value="#{jbqkForm.jbqk.zcdz}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yyzzzch" value="#{text['jbqk.yyzzzch']}"/>
    <t:message for="yyzzzch" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="yyzzzch" value="#{jbqkForm.jbqk.yyzzzch}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="zzjgdm" value="#{text['jbqk.zzjgdm']}"/>
    <t:message for="zzjgdm" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="zzjgdm" value="#{jbqkForm.jbqk.zzjgdm}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="dkkh" value="#{text['jbqk.dkkh']}"/>
    <t:message for="dkkh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="dkkh" value="#{jbqkForm.jbqk.dkkh}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="gsdjh" value="#{text['jbqk.gsdjh']}"/>
    <t:message for="gsdjh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="gsdjh" value="#{jbqkForm.jbqk.gsdjh}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="dsdjh" value="#{text['jbqk.dsdjh']}"/>
    <t:message for="dsdjh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="dsdjh" value="#{jbqkForm.jbqk.dsdjh}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="jbhkhh" value="#{text['jbqk.jbhkhh']}"/>
    <t:message for="jbhkhh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="jbhkhh" value="#{jbqkForm.jbqk.jbhkhh}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="jbhzh" value="#{text['jbqk.jbhzh']}"/>
    <t:message for="jbhzh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="jbhzh" value="#{jbqkForm.jbqk.jbhzh}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="ybhkhh" value="#{text['jbqk.ybhkhh']}"/>
    <t:message for="ybhkhh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="ybhkhh" value="#{jbqkForm.jbqk.ybhkhh}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="ybhzh" value="#{text['jbqk.ybhzh']}"/>
    <t:message for="ybhzh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="ybhzh" value="#{jbqkForm.jbqk.ybhzh}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="jydz" value="#{text['jbqk.jydz']}"/>
    <t:message for="jydz" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="jydz" value="#{jbqkForm.jbqk.jydz}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yb" value="#{text['jbqk.yb']}"/>
    <t:message for="yb" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="yb" value="#{jbqkForm.jbqk.yb}" required="false" maxlength="6">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="dh" value="#{text['jbqk.dh']}"/>
    <t:message for="dh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="dh" value="#{jbqkForm.jbqk.dh}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="cz" value="#{text['jbqk.cz']}"/>
    <t:message for="cz" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="cz" value="#{jbqkForm.jbqk.cz}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="zczbbz" value="#{text['jbqk.zczbbz']}"/>
    <t:message for="zczbbz" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="zczbbz" value="#{jbqkForm.jbqk.zczbbz}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zczbje" value="#{text['jbqk.zczbje']}"/>
    <t:message for="zczbje" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="zczbje" value="#{jbqkForm.jbqk.zczbje}" required="false" maxlength="255">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="clrq" value="#{text['jbqk.clrq']}"/>
    <t:message for="clrq" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="clrq" value="#{jbqkForm.jbqk.clrq}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="frdb" value="#{text['jbqk.frdb']}"/>
    <t:message for="frdb" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="frdb" value="#{jbqkForm.jbqk.frdb}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="hy" value="#{text['hyfl.hyfl']}"/>
    <t:message for="hy" styleClass="fieldError"/>
    <h:selectOneMenu value="#{jbqkForm.hyflId}" id="hy" required="true" styleClass="select">
        <f:selectItems value="#{availableHyfls}"/>
    </h:selectOneMenu>

    <h:outputLabel styleClass="desc" for="ywfw" value="#{text['jbqk.ywfw']}"/>
    <t:message for="ywfw" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="ywfw" value="#{jbqkForm.jbqk.ywfw}" required="false" maxlength="600">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="jycdmj" value="#{text['jbqk.jycdmj']}"/>
    <t:message for="jycdmj" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="jycdmj" value="#{jbqkForm.jbqk.jycdmj}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="fcsyq" value="#{text['jbqk.fcsyq']}"/>
    <t:message for="fcsyq" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="fcsyq" value="#{jbqkForm.jbqk.fcsyq}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="cyrs" value="#{text['jbqk.cyrs']}"/>
    <t:message for="cyrs" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="cyrs" value="#{jbqkForm.jbqk.cyrs}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zzc" value="#{text['jbqk.zzc']}"/>
    <t:message for="zzc" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="zzc" value="#{jbqkForm.jbqk.zzc}" required="false" maxlength="255">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="dabh" value="#{text['jbqk.dabh']}"/>
    <t:message for="dabh" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="dabh" value="#{jbqkForm.jbqk.dabh}" required="false" maxlength="30">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="qycym" value="#{text['jbqk.qycym']}"/>
    <t:message for="qycym" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="qycym" value="#{jbqkForm.jbqk.qycym}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="qygm" value="#{text['jbqk.qygm']}"/>
    <t:message for="qygm" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="qygm" value="#{jbqkForm.jbqk.qygm}" required="false" maxlength="10">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="qyid" value="#{text['jbqk.qyid']}"/>
    <t:message for="qyid" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="qyid" value="#{jbqkForm.jbqk.qyid}" required="true" maxlength="255">
        <v:commonsValidator type="required" arg="#{text['jbqk.qyid']}"/>
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="sfgxqy" value="#{text['jbqk.sfgxqy']}"/>
    <t:message for="sfgxqy" styleClass="fieldError"/>
    <h:selectBooleanCheckbox value="#{jbqkForm.jbqk.sfgxqy}" id="sfgxqy" styleClass="checkbox"/>
    <h:outputLabel styleClass="desc" for="sfxj" value="#{text['jbqk.sfxj']}"/>
    <t:message for="sfxj" styleClass="fieldError"/>
    <h:selectBooleanCheckbox value="#{jbqkForm.jbqk.sfxj}" id="sfxj" styleClass="checkbox"/>
    
    
    <h:outputLabel styleClass="desc" for="ywmc" value="#{text['jbqk.ywmc']}"/>
    <t:message for="ywmc" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="ywmc" value="#{jbqkForm.jbqk.ywmc}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yyzt" value="#{text['jbqk.yyzt']}"/>
    <t:message for="yyzt" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="yyzt" value="#{jbqkForm.jbqk.yyzt}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="zycpmc" value="#{text['jbqk.zycpmc']}"/>
    <t:message for="zycpmc" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="zycpmc" value="#{jbqkForm.jbqk.zycpmc}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zljzrq" value="#{text['jbqk.zljzrq']}"/>
    <t:message for="zljzrq" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="zljzrq" value="#{jbqkForm.jbqk.zljzrq}" required="false">
    </h:inputText>
    
    
    
    
    <h:outputLabel styleClass="desc" for="ssqy" value="#{text['jbqk.ssqy']}"/>
    <t:message for="ssqy" styleClass="fieldError"/>
    <h:inputText styleClass="text large" id="ssqy" value="#{jbqkForm.jbqk.ssqy}" required="false" maxlength="20">
    </h:inputText>
    <h:outputText/>
    <h:outputText/>
    <h:outputText/>

</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateJbqkForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('jbqkForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
